}
struct MeetingDay {
Day day;
}
Day public someday;
MeetingDay public meetingDay;
function scheduleMeeting(Day newDay) public returns (Day) {
meetingDay.day = newDay;
return meetingDay.day;
}
function retrieveNextMeetingScheduled() public view
returns(Day) {
return meetingDay.day;
}
}
A. Monday to Friday
B. Monday to Sunday
C. Any number between 0-100
D. Any number between 0-4
Q69: You are writing a function that involves modification of the state
variable. You can mark the function with which of the following?
A. view
B. pure
C. either view or pure would do
D. None of these
Q70: You are writing a function that returns the value of a global
variable and has no use of any state variable. You can mark the
function with which of the following?
// SPDX-License-Identifier: SOME IDENTIFIER
pragma solidity ^0.8.10;